<template>
  <div id="login">
    <div class="login-box">
      <login-avatar />
      <login-form />
    </div>
  </div>
</template>

<script>
import LoginAvatar from './childComps/LoginAvatar'
import LoginForm from './childComps/LoginForm'

export default {
  name: 'Login',
  components: {
    LoginAvatar,
    LoginForm,
  },
}
</script>

<style lang="less" scoped>
#login {
  background-color: #2b4b6b;
  height: 100%;
}

.login-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 300px;
  background-color: #fff;
  border-radius: 3px;
}
</style>